package com.patterns.abstractFortory.commonAbstractFactory.abstracts;

import com.patterns.abstractFortory.commonAbstractFactory.productA.AbstractProductA;
import com.patterns.abstractFortory.commonAbstractFactory.productA.ProductA2;
import com.patterns.abstractFortory.commonAbstractFactory.productB.AbstractProductB;
import com.patterns.abstractFortory.commonAbstractFactory.productB.ProductB2;

/**
 * Created by Xiao Yiyun on 2017/4/19.
 */
public class Creator2 extends AbstractCreator {

    public AbstractProductA createProductA() {
        return new ProductA2();
    }

    public AbstractProductB createProductB() {
        return new ProductB2();
    }
}